package demo03;

public class Sum {
    public static void main(String[] args) {
        int res = 0;
        for (int i = 1;  i <= 100; i++){
            if (i%2==1){
                res+=i;
            }
        }
        System.out.println(res);
    }
}

